package com.allwees.bs.module.wms.wf;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.allwees.core.common.constant.EStatus;
import com.allwees.core.wf.Action;

public enum WmsPickOrderAction implements Action, IEnum<String> {

    //PLATFORM ACTION
    PLATFORM_JOIN_TO_PICK("加入拣货单", EStatus.WMS_WAIT_PICK),
    PLATFORM_SHIPPED("已发货", EStatus.WMS_SHIPPED),

    //end of PLATFORM ACTION

    ;

    private String desc;
    private EStatus afterActionStatus;

    WmsPickOrderAction(String desc, EStatus afterActionStatus) {
        this.desc = desc;
        this.afterActionStatus = afterActionStatus;
    }

    @Override
    public String getValue() {
        return name();
    }

    public String desc() {
        return desc;
    }

    public EStatus afterActionStatus() {
        return afterActionStatus;
    }
}

